]> dgit.raspbian.org Git - gnome-shell.git/commit
screenShield: Fix showing shield without animation
authorFlorian Müllner <fmuellner@gnome.org>
Fri, 10 Jan 2020 15:09:48 +0000 (16:09 +0100)
committerFlorian Müllner <fmuellner@gnome.org>
Fri, 10 Jan 2020 15:26:31 +0000 (16:26 +0100)
commitceda02f2da963cb57a704d26c6df7e9df2cac4d6
tree7602e794ec3ca5b39d2932fb4d64252e4b55aac1
parent0df3b47366cc7abdca8e99319218996a5f098d7a
screenShield: Fix showing shield without animation

Commit 24e631ffe2 changed the shield animation to use translation
instead of position.

However once the shield is raised, only an animation will lower it
again, which means the shield is missing when it's supposed to be
shown without animation (for example after an idle blank).

Fix this by resetting the translation-y property in that case.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/927
js/ui/screenShield.js